using System;
using System.Collections.Generic;
using System.Text;

namespace SBPweb.Contracts.StateManagement
{
	public class State : IState
	{

		private int pId;
		private string pName;
		private string pDirectoryName;
		private bool pSelectable;
		private System.Drawing.Icon pIcon;

		public State(int id, string name, string directoryName, bool selectable, System.Drawing.Icon icon)
		{
			pId = id;
			pName = name;
			pDirectoryName = directoryName;
			pSelectable = selectable;
			pIcon = icon;
		}

		public int Id
		{
			get
			{
				return pId;
			}
			internal set
			{
				pId = value;
			}
		}

		public string Name
		{
			get
			{
				return pName;
			}
			internal set
			{
				pName = value;
			}
		}

		public string DirectoryStateName
		{
			get
			{
				return pDirectoryName;
			}
			internal set
			{
				pDirectoryName = value;
			}
		}

		public bool Selectable
		{
			get
			{
				return pSelectable;
			}
			internal set
			{
				pSelectable = value;
			}
		}

		public System.Drawing.Icon Icon
		{
			get
			{
				return pIcon;
			}
			internal set
			{
				pIcon = value;
			}
		}

	}
}
